﻿<%@ Page Title="Reply" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Reply.aspx.cs" Inherits="Snow.Reply" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />
    <asp:GridView ID="gvReply" runat="server" AutoGenerateColumns="False" HorizontalAlign="Center"
        Width="98%" OnRowCancelingEdit="gvReply_RowCancelingEdit" OnRowDeleting="gvReply_RowDeleting"
        OnRowEditing="gvReply_RowEditing" OnRowUpdating="gvReply_RowUpdating" DataKeyNames="rid"
        AllowPaging="True" OnPageIndexChanging="gvReply_PageIndexChanging">
        <Columns>
            <asp:TemplateField HeaderText="rid">
                <ItemTemplate>
                    <asp:Label ID="Label1" runat="server" Text='<%# Bind("rid") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:Label ID="TextBox1" runat="server" Text='<%# Bind("rid") %>'></asp:Label>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="tid">
                <ItemTemplate>
                    <asp:Label ID="Label3" runat="server" Text='<%# Bind("tid") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:Label ID="TextBox3" runat="server" Text='<%# Bind("tid") %>'></asp:Label>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="uid">
                <ItemTemplate>
                    <asp:Label ID="Label2" runat="server" Text='<%# Bind("uid") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("uid") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="content">
                <ItemTemplate>
                    <asp:Label ID="Label7" runat="server" Text='<%# Bind("content") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtContent" runat="server" Text='<%# Bind("content") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="ip">
                <ItemTemplate>
                    <asp:Label ID="Label5" runat="server" Text='<%# Bind("ip") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:Label ID="TextBox5" runat="server" Text='<%# Bind("ip") %>'></asp:Label>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="address">
                <ItemTemplate>
                    <asp:Label ID="Label5" runat="server" Text='<%# Bind("address") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:Label ID="txtAddress" runat="server" Text='<%# Bind("address") %>'></asp:Label>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="time">
                <ItemTemplate>
                    <asp:Label ID="Label8" runat="server" Text='<%# Bind("time") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtTime" runat="server" Text='<%# Bind("time") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="state">
                <ItemTemplate>
                    <asp:Label ID="Label4" runat="server" Text='<%# Bind("state") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:Label ID="TextBox4" runat="server" Text='<%# Bind("state") %>'></asp:Label>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="tag">
                <ItemTemplate>
                    <asp:Label ID="Label9" runat="server" Text='<%# Bind("tag") %>'></asp:Label>
                </ItemTemplate>
                <EditItemTemplate>
                    <asp:TextBox ID="txtTag" runat="server" Text='<%# Bind("tag") %>'></asp:TextBox>
                </EditItemTemplate>
            </asp:TemplateField>
            <asp:CommandField ShowEditButton="True" />
            <asp:CommandField ShowDeleteButton="True" />
        </Columns>
    </asp:GridView>
</asp:Content>
